package cn.yhbk.web.modules.manager.Pojo.VO.GpaRecord;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class GpaRecordAdd {

    @ApiModelProperty("评定标准ID")
    @NotNull
    private Long standardId;

    @ApiModelProperty("备注")
    @TableField("notes")
    private String notes;

    @ApiModelProperty("干部加分绩点")
    @TableField("cadre_gpa")
    private double cadreGpa;

    @ApiModelProperty("活动加分绩点")
    @TableField("activity_gpa")
    private double activityGpa;

    @ApiModelProperty("技能加分绩点")
    @TableField("skill_gpa")
    private double skillGpa;

    @ApiModelProperty("行为道德加分绩点")
    @TableField("act_gpa")
    private double actGpa;

    @ApiModelProperty("成绩绩点")
    @NotNull
    private double scoreGpa;

    @ApiModelProperty("是否挂科")
    @NotNull
    private Boolean pass;

    @ApiModelProperty("学生id")
    @NotNull
    private Long stuId;

    @ApiModelProperty("专业ID")
    private Long majorId;
}
